package com.alibaba.citrus.ots.platform.enhance.repository;

import com.alibaba.lattice2.epoch.sdk.model.Result;
import com.epoch.app.otsplatformenhance.inventoryallot.dto.QueryListRequest;
import com.epoch.app.otsplatformenhance.inventoryallot.model.InventoryAllot;
import com.epoch.app.otsplatformenhance.model.dto.*;

import java.util.List;

public interface InventoryAllotQueryRepository {

    Result<List<InventoryAllotSDO>> pageQuery(PageQueryInventoryAllotRequest request);

    Result<InventoryAllotSDO> queryById(InventoryAllotQueryByIdRequest inventoryAllotQueryByIdRequest);

    Result<List<InventoryAllotExcelExportResponse>> excelExPort(PageQueryInventoryAllotRequest request);

    Result<InventoryAllot> queryList(QueryListRequest queryAllotRequest);

    InventoryAllotLineSDO queryLineById(String id);

    Result<List<InventoryAllot>> queryAllotListByCondition(QueryAllotListRequest queryAllotListRequest);
}